<h1>New profile</h1>

<% form_for @person do |f| %>
  <h2>Personal Information & Contact Details (<font style="color: #FF0000;">*</font> <font style="font-size: small;"> compulsory field)</font></h2>
  <%= f.error_messages %>
  <table style="width: 100%;" class="box_simple">
    <tr>
      <td style="width: 45%;">
        <center>
          <div style="width: 90%;">
            <p>
              <font style="color: #FF0000;">*</font> <%= f.label :first_name -%><br />
              <%= f.text_field :first_name, :style => "width: 100%;" -%>
            </p>

            <p>
              <font style="color: #FF0000;">*</font> <%= f.label :last_name %><br />
              <%= f.text_field :last_name, :style => "width: 100%;" %>
            </p>

            <p>
              <font style="color: #FF0000;">*</font> <%= f.label :email %><br />
              <%= f.text_field :email, :style => "width: 100%;" %>
            </p>
          </div>
        </center>
      </td>
      <td style="width: 45%;">
        <center>
          <div style="width: 90%">
            <p>
              <%= f.label :phone %><br />
              <%= f.text_field :phone, :style => "width: 100%;" %>
            </p>

            <%#*<p>%>
              <%#= f.label :skype_name %><br />
              <%#= f.text_field :skype_name, :style => "width: 100%;" %>
            <%#*</p>%>

            <p>
              <%= f.label :web_page %><br />
              <%= f.text_field :web_page, :style => "width: 100%;" %>
            </p>
          </div>
        </center>
      </td>
    </tr>
  </table>
  <br/>
 
  <%=  f.submit("Create") %>
<% end -%>
